<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>resident_complaint_show.jsp</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="style/styles.css">
		<STYLE type="text/css">
.main {
	text-align: center;
}
</STYLE>
	</head>

	<body>
		<div class="main">
			<a href="resident!complaintPreAdd">添加投诉</a>
			<table border="1">
				<tr>
					<th>
						投诉编号
					</th>
					<th>
						物业部门名称
					</th>
					<th>
						投诉信息
					</th>
					<th>
						操作
					</th>
				</tr>
				<s:iterator value="#request.lst">
					<tr>
						<td>
							${complaintId}
						</td>
						<td>
							${TPropertyDepartment.departmentName}
						</td>
						<td>
							${complaintDetails}
						</td>
						<td>
							<a
								href="resident!complaintDelete?complaint.complaintId=${complaintId}"
								id="deleteInfo" onclick="return confirm('确认是否删除？')">删除</a>
							<a
								href="resident!complaintPreupdate?complaint.complaintId=${complaintId}">修改</a>
						</td>
					</tr>
				</s:iterator>
			</table>
			<div>
				<a href="resident_main.jsp">返回住户主页面</a> &nbsp;&nbsp;&nbsp;&nbsp;
				<a href="javascript:location.reload();">刷新页面</a>
			</div>
		</div>
	</body>
</html>
